Mollie\WooCommerce\Payment\MollieObject C

Total Complexity 112
Dependencies 9
Dependents 5
Total lines 952
Lines of code 508
Logical lines of code 216
Comment lines 269
Methods 48
Properties 13

Methods 48

Method Rating Maintainability Complexity Lines of code
failedSubscriptionProcess()
A
43 10 53
getPaymentDescription()
A
43 9 55
setActiveMolliePaymentForSubscriptions()
A
46 9 44
addMandateIdMetaToFirstPaymentSubscriptionOrder()
S
58 7 15
asciiDomainName()
S
57 7 15
idnEncodeDomain()
S
56 5 21
getActiveMolliePayment()
S
53 4 26
deleteSubscriptionFromPending()
S
64 4 12
addPaypalTransactionIdToOrder()
S
59 3 16
addSequenceTypeForSubscriptionsFirstPayments()
S
63 4 10
unsetActiveMolliePaymentForOrders()
S
63 4 10
getPaymentObjectPayment()
S
62 3 10
getPaymentObjectOrder()
S
61 3 10
replaceTagsDescription()
S
60 2 13
setActiveMolliePaymentForOrders()
S
62 2 12
informNotUpdatingStatus()
S
58 1 18
getReturnUrl()
S
58 1 16
getWebhookUrl()
S
59 1 15
unsetCancelledMolliePaymentId()
S
64 2 10
unsetActiveMolliePayment()
S
71 2 6
setActiveMolliePayment()
S
71 2 6
appendOrderArgumentsToUrl()
S
64 1 11
refund()
S
91 1 2
isFinalOrderStatus()
S
68 1 8
deleteSubscriptionOrderFromPendingPaymentQueue()
S
67 1 9
addSequenceTypeFirst()
S
91 1 2
isOrderPaymentStartedByOtherGateway()
S
74 1 4
setOrderPaidAndProcessed()
S
73 1 5
__construct()
S
64 1 10
onWebhookExpired()
S
91 1 2
hasActiveMolliePayment()
S
75 1 4
customerId()
S
81 1 3
getPaymentObject()
S
81 1 3
getPaymentRequestData()
S
91 1 2
unsetActiveMolliePaymentForSubscriptions()
S
69 1 7
getActiveMolliePaymentId()
S
75 1 4
getActiveMollieOrderId()
S
75 1 4
getActiveMolliePaymentMode()
S
75 1 4
hasActiveMollieOrder()
S
75 1 4
onWebhookFailed()
S
91 1 2
setCancelledMolliePaymentId()
S
70 1 6
getCancelledMolliePaymentId()
S
75 1 4
hasCancelledMolliePayment()
S
75 1 4
getMolliePaymentIdFromPaymentObject()
S
91 1 2
data()
S
82 1 3
onWebhookPaid()
S
91 1 2
onWebhookCanceled()
S
91 1 2
getMollieCustomerIdFromPaymentObject()
S
91 1 2